package com.otis.payroll;

public class UserDefinedException extends Exception{
 
String msg;
 UserDefinedException(){
 
 }
 
 UserDefinedException(String msg){
 this.msg = msg;
 }
 
 @Override
public String toString() {
return "Entered path "+this.msg+ "is invalid or File not found";
 }
}
